package com.itheima.day02.Demo05;

import com.itheima.day02.Cooker;
import com.itheima.day02.Desk;
import com.itheima.day02.Foodie;

public class Demo {
    public static void main(String[] args) {
        com.itheima.day02.Desk desk=new Desk(false,10);
        com.itheima.day02.Cooker c=new Cooker(desk);
        com.itheima.day02.Foodie f=new Foodie(desk);
        f.start();
        c.start();
    }
}
